package com.dstz.crm.core.manager;

import java.util.List;

import com.dstz.base.api.query.QueryFilter;
import com.dstz.base.manager.Manager;
import com.dstz.bpm.api.engine.action.cmd.ActionCmd;
import com.dstz.crm.core.model.Customer;

/**
 * 案例 Manager处理接口
 * @author aschs
 * @email aschs@qq.com
 * @time 2018-08-24 18:06:04
 */
public interface CustomerManager extends Manager<String, Customer>{
	
//	public void saveDemoJson(ActionCmd  actionCmd);
	boolean isCustomerExist(Customer customer);
	void saveCustomer(Customer customer);
	List<Customer> queryShare(QueryFilter queryFilter);
	List<Customer> getMyUsableCustomers(QueryFilter queryFilter);
	List<Customer> getPublicCustomers(QueryFilter queryFilter);
	void updateFollowup(String customerId);
	
}
